set -eux

cat /etc/yum.repos.d/openEuler.repo
cp -a  /etc/yum.repos.d/openEuler.repo  /etc/yum.repos.d/openEuler.repo.bak

sed -i 's#http://repo.openeuler.org/#https://repo.huaweicloud.com/openeuler/#g' /etc/yum.repos.d/openEuler.repo

yum clean metadata -y
yum makecache
